package com.flurry.android;

import com.flurry.org.apache.avro.AvroRuntimeException;
import com.flurry.org.apache.avro.data.RecordBuilder;
import com.flurry.org.apache.avro.specific.SpecificRecordBuilderBase;
import java.util.List;

public class AdUnit$Builder extends SpecificRecordBuilderBase<AdUnit>
  implements RecordBuilder<AdUnit>
{
  private CharSequence bE;
  private long bF;
  private List<AdFrame> bG;
  private int bH;
  private CharSequence bI;
  private CharSequence bJ;
  private long bK;
  private int bL;
  private int bM;
  private int bN;
  private long bO;
  private long bP;
  private CharSequence bQ;

  private AdUnit$Builder()
  {
    super(AdUnit.SCHEMA$);
  }

  public AdUnit build()
  {
    try
    {
      AdUnit localAdUnit = new AdUnit();
      CharSequence localCharSequence1;
      long l1;
      label42: List localList;
      label63: int i;
      label84: CharSequence localCharSequence2;
      label105: CharSequence localCharSequence3;
      label126: long l2;
      label148: int j;
      label170: int k;
      label192: int m;
      label214: long l3;
      label236: long l4;
      if (fieldSetFlags()[0] != 0)
      {
        localCharSequence1 = this.bE;
        localAdUnit.bE = localCharSequence1;
        if (fieldSetFlags()[1] == 0)
          break label305;
        l1 = this.bF;
        localAdUnit.bF = l1;
        if (fieldSetFlags()[2] == 0)
          break label326;
        localList = this.bG;
        localAdUnit.bG = localList;
        if (fieldSetFlags()[3] == 0)
          break label344;
        i = this.bH;
        localAdUnit.bH = i;
        if (fieldSetFlags()[4] == 0)
          break label365;
        localCharSequence2 = this.bI;
        localAdUnit.bI = localCharSequence2;
        if (fieldSetFlags()[5] == 0)
          break label383;
        localCharSequence3 = this.bJ;
        localAdUnit.bJ = localCharSequence3;
        if (fieldSetFlags()[6] == 0)
          break label401;
        l2 = this.bK;
        localAdUnit.bK = l2;
        if (fieldSetFlags()[7] == 0)
          break label423;
        j = this.bL;
        localAdUnit.bL = j;
        if (fieldSetFlags()[8] == 0)
          break label445;
        k = this.bM;
        localAdUnit.bM = k;
        if (fieldSetFlags()[9] == 0)
          break label467;
        m = this.bN;
        localAdUnit.bN = m;
        if (fieldSetFlags()[10] == 0)
          break label489;
        l3 = this.bO;
        localAdUnit.bO = l3;
        if (fieldSetFlags()[11] == 0)
          break label511;
        l4 = this.bP;
        label258: localAdUnit.bP = l4;
        if (fieldSetFlags()[12] == 0)
          break label533;
      }
      label401: label533: for (CharSequence localCharSequence4 = this.bQ; ; localCharSequence4 = (CharSequence)defaultValue(fields()[12]))
      {
        localAdUnit.bQ = localCharSequence4;
        return localAdUnit;
        localCharSequence1 = (CharSequence)defaultValue(fields()[0]);
        break;
        label305: l1 = ((Long)defaultValue(fields()[1])).longValue();
        break label42;
        label326: localList = (List)defaultValue(fields()[2]);
        break label63;
        label344: i = ((Integer)defaultValue(fields()[3])).intValue();
        break label84;
        label365: localCharSequence2 = (CharSequence)defaultValue(fields()[4]);
        break label105;
        label383: localCharSequence3 = (CharSequence)defaultValue(fields()[5]);
        break label126;
        l2 = ((Long)defaultValue(fields()[6])).longValue();
        break label148;
        label423: j = ((Integer)defaultValue(fields()[7])).intValue();
        break label170;
        label445: k = ((Integer)defaultValue(fields()[8])).intValue();
        break label192;
        label467: m = ((Integer)defaultValue(fields()[9])).intValue();
        break label214;
        label489: l3 = ((Long)defaultValue(fields()[10])).longValue();
        break label236;
        label511: l4 = ((Long)defaultValue(fields()[11])).longValue();
        break label258;
      }
    }
    catch (Exception localException)
    {
      throw new AvroRuntimeException(localException);
    }
  }

  public Builder clearAdFrames()
  {
    this.bG = null;
    fieldSetFlags()[2] = 0;
    return this;
  }

  public Builder clearAdSpace()
  {
    this.bE = null;
    fieldSetFlags()[0] = 0;
    return this;
  }

  public Builder clearAdomain()
  {
    this.bQ = null;
    fieldSetFlags()[12] = 0;
    return this;
  }

  public Builder clearCombinable()
  {
    fieldSetFlags()[3] = 0;
    return this;
  }

  public Builder clearExpiration()
  {
    fieldSetFlags()[1] = 0;
    return this;
  }

  public Builder clearExpirationTime()
  {
    fieldSetFlags()[10] = 0;
    return this;
  }

  public Builder clearGroupId()
  {
    this.bI = null;
    fieldSetFlags()[4] = 0;
    return this;
  }

  public Builder clearIdHash()
  {
    this.bJ = null;
    fieldSetFlags()[5] = 0;
    return this;
  }

  public Builder clearNewCap()
  {
    fieldSetFlags()[7] = 0;
    return this;
  }

  public Builder clearPreviousCap()
  {
    fieldSetFlags()[8] = 0;
    return this;
  }

  public Builder clearPreviousCapType()
  {
    fieldSetFlags()[9] = 0;
    return this;
  }

  public Builder clearPrice()
  {
    fieldSetFlags()[11] = 0;
    return this;
  }

  public Builder clearServeTime()
  {
    fieldSetFlags()[6] = 0;
    return this;
  }

  public List<AdFrame> getAdFrames()
  {
    return this.bG;
  }

  public CharSequence getAdSpace()
  {
    return this.bE;
  }

  public CharSequence getAdomain()
  {
    return this.bQ;
  }

  public Integer getCombinable()
  {
    return Integer.valueOf(this.bH);
  }

  public Long getExpiration()
  {
    return Long.valueOf(this.bF);
  }

  public Long getExpirationTime()
  {
    return Long.valueOf(this.bO);
  }

  public CharSequence getGroupId()
  {
    return this.bI;
  }

  public CharSequence getIdHash()
  {
    return this.bJ;
  }

  public Integer getNewCap()
  {
    return Integer.valueOf(this.bL);
  }

  public Integer getPreviousCap()
  {
    return Integer.valueOf(this.bM);
  }

  public Integer getPreviousCapType()
  {
    return Integer.valueOf(this.bN);
  }

  public Long getPrice()
  {
    return Long.valueOf(this.bP);
  }

  public Long getServeTime()
  {
    return Long.valueOf(this.bK);
  }

  public boolean hasAdFrames()
  {
    return fieldSetFlags()[2];
  }

  public boolean hasAdSpace()
  {
    return fieldSetFlags()[0];
  }

  public boolean hasAdomain()
  {
    return fieldSetFlags()[12];
  }

  public boolean hasCombinable()
  {
    return fieldSetFlags()[3];
  }

  public boolean hasExpiration()
  {
    return fieldSetFlags()[1];
  }

  public boolean hasExpirationTime()
  {
    return fieldSetFlags()[10];
  }

  public boolean hasGroupId()
  {
    return fieldSetFlags()[4];
  }

  public boolean hasIdHash()
  {
    return fieldSetFlags()[5];
  }

  public boolean hasNewCap()
  {
    return fieldSetFlags()[7];
  }

  public boolean hasPreviousCap()
  {
    return fieldSetFlags()[8];
  }

  public boolean hasPreviousCapType()
  {
    return fieldSetFlags()[9];
  }

  public boolean hasPrice()
  {
    return fieldSetFlags()[11];
  }

  public boolean hasServeTime()
  {
    return fieldSetFlags()[6];
  }

  public Builder setAdFrames(List<AdFrame> paramList)
  {
    validate(fields()[2], paramList);
    this.bG = paramList;
    fieldSetFlags()[2] = 1;
    return this;
  }

  public Builder setAdSpace(CharSequence paramCharSequence)
  {
    validate(fields()[0], paramCharSequence);
    this.bE = paramCharSequence;
    fieldSetFlags()[0] = 1;
    return this;
  }

  public Builder setAdomain(CharSequence paramCharSequence)
  {
    validate(fields()[12], paramCharSequence);
    this.bQ = paramCharSequence;
    fieldSetFlags()[12] = 1;
    return this;
  }

  public Builder setCombinable(int paramInt)
  {
    validate(fields()[3], Integer.valueOf(paramInt));
    this.bH = paramInt;
    fieldSetFlags()[3] = 1;
    return this;
  }

  public Builder setExpiration(long paramLong)
  {
    validate(fields()[1], Long.valueOf(paramLong));
    this.bF = paramLong;
    fieldSetFlags()[1] = 1;
    return this;
  }

  public Builder setExpirationTime(long paramLong)
  {
    validate(fields()[10], Long.valueOf(paramLong));
    this.bO = paramLong;
    fieldSetFlags()[10] = 1;
    return this;
  }

  public Builder setGroupId(CharSequence paramCharSequence)
  {
    validate(fields()[4], paramCharSequence);
    this.bI = paramCharSequence;
    fieldSetFlags()[4] = 1;
    return this;
  }

  public Builder setIdHash(CharSequence paramCharSequence)
  {
    validate(fields()[5], paramCharSequence);
    this.bJ = paramCharSequence;
    fieldSetFlags()[5] = 1;
    return this;
  }

  public Builder setNewCap(int paramInt)
  {
    validate(fields()[7], Integer.valueOf(paramInt));
    this.bL = paramInt;
    fieldSetFlags()[7] = 1;
    return this;
  }

  public Builder setPreviousCap(int paramInt)
  {
    validate(fields()[8], Integer.valueOf(paramInt));
    this.bM = paramInt;
    fieldSetFlags()[8] = 1;
    return this;
  }

  public Builder setPreviousCapType(int paramInt)
  {
    validate(fields()[9], Integer.valueOf(paramInt));
    this.bN = paramInt;
    fieldSetFlags()[9] = 1;
    return this;
  }

  public Builder setPrice(long paramLong)
  {
    validate(fields()[11], Long.valueOf(paramLong));
    this.bP = paramLong;
    fieldSetFlags()[11] = 1;
    return this;
  }

  public Builder setServeTime(long paramLong)
  {
    validate(fields()[6], Long.valueOf(paramLong));
    this.bK = paramLong;
    fieldSetFlags()[6] = 1;
    return this;
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.flurry.android.AdUnit.Builder
 * JD-Core Version:    0.6.2
 */